import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router"

const routes:Array<RouteRecordRaw> = [
    {
        path:'/',
        name:'AddInvest',
        component:()=>import('../components/AddInvest.vue')
    },
    {
        path:'/ShowInvest',
        name:'ShowInvest',
        component:()=>import('../components/ShowInvest.vue')
    }
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router